$(function(){
    var option = {
        url: '../sys/user/list',
        pagination: true,	//显示分页条
        sidePagination: 'server',//服务器端分页
        showRefresh: true,  //显示刷新按钮
        search: true,
        toolbar: '#toolbar',
        striped : true,     //设置为true会有隔行变色效果
        //idField: 'menuId',
        columns: [
            {checkbox:true},
            { title: '用户id', field: 'userId',sortable:true},
            { title: '用户名', field: 'username'},
            { title: '电话', field: 'phone'},
            { title: '邮箱', field: 'email'},
        ]};

    $('#table').bootstrapTable(option);
});

var vm = new Vue({
	el:'#dtapp',
    data:{
        showList: true,
        title: null,
        user:{}
    },
    methods: {}
});